package com.terrynoya.fight.stateMachine.triggers
{
	import com.terrynoya.fight.char.Character;
	import com.terrynoya.fight.evaluation.Node;
	import com.terrynoya.fight.evaluation.ParseState;

	public class StateNo
	{
		public function StateNo()
		{
			
		}
		
		public static function eval(state:Object,node:Node):*
		{
			var chara:Character = state as Character;
			return chara.stateManager.currentState.id;
		}
		
		public static function parse(state:ParseState):Node
		{
			return state.baseNode;
		}
	}
}